# -*- coding: utf-8 -*-
# @Time : 2024/1/20 17:40
# @Author : cute
# @Email : Aggressive_cute@126.com

from sanic import Sanic, json
from views.api import api
def create_app():
    # 实例化对象
    app = Sanic(__name__)
    # 注册蓝图 直接blueprint

    app.blueprint(api)

    return app

